<?
//namespace nz\co\innovanet\fta;

	/**
	 * This is a singleton really.. should only be one
	 *
	 */
	class FTAGlobal extends FTAObject {
		
		var $sessionStarted;
		var $pageScope;
		
		function setPageScope($scope){
			$this->pageScope = $scope;	
		}
		
		function getPageScope(){
			return $this->pageScope;	
		}
				
		function startSession($startSession=true){
			//huh???
			if ( $startSession && !isset($_SESSION)){

				session_start();
				
				$this->sessionStarted = $startSession;
			} else {
				// calling startSession false.. does nothing.. at this point in time
			}
		}
		
	}